//
//  HQShopFiltrateConditionView.h
//  MobileiOS
//
//  Created by 郝庆松 on 2018/7/9.
//  Copyright © 2018年 PCITC. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HQFiltrateViewCell.h"

@protocol HQShopFiltrateConditionViewDelegate <NSObject>//协议

-(void)filterDict:(NSDictionary *)dict withType:(NSString *)type;

@end


@interface HQShopFiltrateConditionView : UIView<UICollectionViewDataSource,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout>
{
    NSDictionary *_dict1;
}

-(void)selectDict:(NSDictionary *)dict;

@property(nonatomic,copy)NSString *type;

@property (weak, nonatomic) IBOutlet UICollectionViewFlowLayout *layout;

@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;

@property(nonatomic,retain)NSMutableArray *dataSource;

+ (instancetype)loadShopFiltrateView;
@property(nonatomic,assign)id<HQShopFiltrateConditionViewDelegate>delegate;

@end
